package com.slz3.business.module.systemManagement.sysOrganize.service;

import com.slz3.business.module.systemManagement.sysOrganize.domain.SysOrganize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface SysOrganizeService {

    SysOrganize save(SysOrganize sysOrganize);

    Page<SysOrganize> page(MultiValueMap<String,String> queryParams);

    SysOrganize modify(SysOrganize sysOrganize);

    Optional<SysOrganize> single(UUID uuid);

    List<SysOrganize> findAllByUuids(Iterable<UUID> uuids);

    List<SysOrganize> delete(List<SysOrganize> sysOrganizeList);

    List<SysOrganize> findAll(SysOrganize param);
}
